﻿using FreeDream.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FreeDream.IService
{
    /// <summary>
    /// CodeFirst测试
    /// </summary>
    public interface IBlogService : IDependency
    {
        void Add(Blog blog);

        void Update(Blog blog);

        void Remove(string id);

        Blog GetById(string id);

        Task<List<Blog>> GetBlog(string id);
    }
}
